/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package xq.gwt.ui.test;

import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.AutoFitTextAreaItem;


/**
 *
 * @author db2admin
 */
public class FeedbackForm extends DynamicForm{    

    public FeedbackForm(String message){
        super();
        setHeight(100);
        setWidth(300);
        AutoFitTextAreaItem errorText = new AutoFitTextAreaItem("Error");
        errorText.setHeight(80);
        errorText.setWidth(300);
        errorText.setValue(message);
        setFields(errorText);
        
    }

}
